<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>cairo</Name>
        <Homepage>http://cairographics.org</Homepage>
        <Packager>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <License>MPL-1.1</License>
        <IsA>library</IsA>
        <PartOf>desktop.toolkit.gtk</PartOf>
        <Summary>2D graphics library with bindings of many programming languages</Summary>
        <Description>Cairo is a 2D graphics library with support for multiple output devices (and fileformats).</Description>
        <!--Bura bakan insan evladını uyarıyorum. Şunun son sürümü 1.17.x diye körleme atlamayın. sıkıntılı çalışıyor. 1.16.x dursun-->
        <Archive sha1sum="00e81842ae5e81bb0343108884eb5205be0eac14">https://www.cairographics.org/releases/cairo-1.16.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>xcb-util-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>gtk2-32bit</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>valgrind</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>cairo-binutild-2.34.patch</Patch>
        </Patches>
    </Source>
    <Package>
        <Name>cairo</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libXext</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>
    <Package>
        <Name>cairo-devel</Name>
        <Summary>Development files for cairo</Summary>
        <RuntimeDependencies>
            <Dependency release="current">cairo</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>
    <Package>
        <Name>cairo-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for cairo</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>pixman-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libxcb-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">cairo</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>pixman-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libxcb-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/lib*</Path>
            <Path fileType="library">/usr/lib32/cairo</Path>
        </Files>
    </Package>
    <History>
        <Update release="6">
            <Date>2020-07-04</Date>
            <Version>1.16.0</Version>
            <Comment>Rebuild and enable 32bit</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-11-26</Date>
            <Version>1.16.0</Version>
            <Comment>downgrade stable branch</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2019-11-26</Date>
            <Version>1.17.3</Version>
            <Comment>cairo version bumped to compability.</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
      <Update release="3">
          <Date>2019-10-10</Date>
          <Version>1.16.0</Version>
          <Comment>Fixed not founded library "./cairo/libcairo-trace.so: libbfd-2.31.1.so => not found."</Comment>
          <Name>Suleyman Poyraz</Name>
          <Email>zaryob.dev@gmail.com</Email>
      </Update>
      <Update release="2">
          <Date>2019-09-19</Date>
          <Version>1.16.0</Version>
          <Comment>Version bumped to 1.16.0 for librsvg package.</Comment>
          <Name>Suleyman Poyraz</Name>
          <Email>zaryob.dev@gmail.com</Email>
      </Update>
        <Update release="1">
            <Date>2019-04-12</Date>
            <Version>1.14.8</Version>
            <Comment>First release</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
